﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace TmU220PrintHelperV2d0.Entity
{
    [XmlRoot("Api路由方法集")]
    public class ApiRouterMethodSetV1d0
    {
        [XmlArray("方法集"),XmlArrayItem("方法")]
        public List<ApiRouterMethodV1d0> ApiRouterMethodList { get; set; }
        public ApiRouterMethodSetV1d0()
        {
            ApiRouterMethodList = new List<ApiRouterMethodV1d0>();
        }
    }
    public class ApiRouterMethodV1d0
    {
        [XmlAttribute("方法名称")]
        public string MethodName { get; set; }
        [XmlAttribute("方法内容")]
        public string MethodContent { get; set; }
        public ApiRouterMethodV1d0()
        {
            MethodName = "";
            MethodContent = "";
        }
        public ApiRouterMethodV1d0(string methodName,string methodContent)
        {
            MethodName = methodName;
            MethodContent = methodContent;
        }
    }
}
